{% include 'base.html' %}
{% from 'bootstrap4/table.html' import render_table %}
{% from 'bootstrap4/pagination.html' import render_pagination %}

<head>
    <meta charset="UTF-8">
    <title>企业基本信息数据表单</title>
</head>

{% block content %}
    <div class="data">
        {% if messages %}
            {{ render_table(messages, titles, table_classes='table-responsive table-striped',
                            header_classes='thead-dark',
                            show_actions=True, model=Enterprise,
                            view_url=('view_message', [('message_id', ':id')])
                            ) }}
        {% endif %}
        <div class="pagination">
                {{ render_pagination(pagination) }}
        </div>
    </div>
{% endblock %}



